﻿angular.module('galaxy',[]).
  config(function ($routeProvider, $locationProvider) {
      $routeProvider.
        when(SiteMap.Account.LogOn, { controller: AccountCtrl, templateUrl: SiteMap.Account.LogOnTemplate }).
        otherwise({ redirectTo: SiteMap.Account.LogOn });
      $locationProvider.html5Mode(true);
  });


function AccountCtrl($scope, $routeParams, $location) {
    $scope.model = {};
    $scope.model.Email = "1";
    $scope.model.Password = "2";
    $scope.model.RememberMe = true;
    $scope.model.ReturnUrl = "4";
    $scope.model.Login = "5";
}